package com.ruoyi.teacher.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;

import java.util.Date;

public class TeacherTaskDto {
    private Long id;
    private Long taskId;
    private Long teacherId;
    //领取时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date collectionTime;
    //完成时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date completionTime;

    /** 标题 */

    private String title;

    /** 任务详情 */

    private String details;

    /** 任务状态（0可领取，1已领取，2已完成，3异常） */

    private Integer status;

    /** 截至时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "截至时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 任务人 */
    @Excel(name = "任务人")
    private String taskPersonName;

    /** 任务人id */
    @Excel(name = "任务人id")
    private Long taskPersonId;

    /** 结果描述 */
    @Excel(name = "结果描述")
    private String resultsDescription;


    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getTaskPersonName() {
        return taskPersonName;
    }

    public void setTaskPersonName(String taskPersonName) {
        this.taskPersonName = taskPersonName;
    }

    public Long getTaskPersonId() {
        return taskPersonId;
    }

    public void setTaskPersonId(Long taskPersonId) {
        this.taskPersonId = taskPersonId;
    }

    public Date getCollectionTime() {
        return collectionTime;
    }

    public void setCollectionTime(Date collectionTime) {
        this.collectionTime = collectionTime;
    }

    public Date getCompletionTime() {
        return completionTime;
    }

    public void setCompletionTime(Date completionTime) {
        this.completionTime = completionTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getResultsDescription() {
        return resultsDescription;
    }

    public void setResultsDescription(String resultsDescription) {
        this.resultsDescription = resultsDescription;
    }
}
